﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Y2015CS68LIB.OOP_LIB.INHERISTANCES;

namespace Y2015CS68APPS.OOP.INHERISTANCES
{
    public partial class VIEWS : Form
    {
        public VIEWS()
        {
            InitializeComponent();
        }

        private void VIEWS_Load(object sender, EventArgs e)
        {
            //Thực thi tại đây
            CONCHO objConCho = new CONCHO(true, false, false);

            //2. Hiển thị thông tin
            listBox1.Items.Add("+ Chân: " + objConCho.Chan);
            listBox1.Items.Add("+ Mắt: " + objConCho.Mat);
            listBox1.Items.Add("+ Đuôi: " + objConCho.Duoi);
        }
    }
}
